package fuxi2;

public class Student {
    int sNo;
    String sName;
    String sSex;
    int sAge;
    int sJave;
    public Student(){
    }
    public Student(int no,String name,String sex,int age,int java){
        this.sNo=no;
        this.sName=name;
        this.sAge=age;
        this.sSex=sex;
        this.sJave=java;
    }
    public int getsNo(){
        return sNo;
    }
    public String getsName(){
        return sName;
    }
    public int getsAge(){
        return sAge;
    }
    public String getsSex(){
        return sSex;
    }
    public int getsJave(){
        return sJave;
    }
    public String toString(){
        return  sName+"java成绩为"+sJave;
    }
}
